found currect date in javascript

90

found currect date in javascript -

var today = new Date();
var date = today.getFullYear()+'-'+(today.getMonth()+1)+'-'+today.getDate();

Comments

Submit
0 Comments